package com.nny;

 public class Vehicle {
  protected String make;
    protected String model; // 型号

    public Vehicle(String make, String model) {
        this.make = make;
        this.model = model;
    }
    public void drive() {
        System.out.println("Driving a vehicle.");
    }
    public String getMake() {
        return make;
    }

    public String getModel() {
        return model;
    }
}
